<?php



class TblPinMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TblPinMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('tbl_pin');
		$tMap->setPhpName('TblPin');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('F_ID', 'FId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_CODE', 'FCode', 'string', CreoleTypes::VARCHAR, true, 20);

		$tMap->addColumn('F_CREATED_DATETIME', 'FCreatedDatetime', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('F_TOTAL', 'FTotal', 'string', CreoleTypes::BIGINT, false, null);

	} 
} 